With color animation, an object changes color based on a tag value or the result of an expression. You can specify up to 16 color changes (A to P) for any object. Colors can be solid or blinking. For each color change, specify the value or threshold at which the color is to change and specify the colors to change to. At runtime, when the value reaches or crosses the threshold, the color changes.
Color animation is available for all drawing objects only except image and panel objects, which only support visibility animation.
Tip: |
|
Type a tag name or an expression that will evaluate to numeric values at run time. An expression is a mathematical or logical equation that returns a value. It can contain tag names, constants, and mathematical, relational, logical, and bitwise operators. A tag name can be used as an expression.
Type the value at which the color is to change. The threshold values must be defined in ascending order, starting with A as the lowest value.
Select colors for the Line and Fill. If you specify blink for either line or fill, a second colored box is shown. An object blinks by alternating two blinking colors. When you define two blinking colors for a change, they are both shown beside the letter identifier (A - P) for the change. The default alternate blink color is black (If you choose Gradient in the Fill Style, the default gradient fill uses black and white color). If the object’s line or fill color is black, the default alternate blink color is white. You cannot select the same color for the blink on and blink off states. Using Fill Style you can control the look of the fill color, Original (no changes from the original), Solid, Gradient, or a patterned Shaded look.
Use the Fill Style option to control the look of the fill color.
Use this fill style |
To |
---|---|
Solid |
Change the colors, and they will have a solid look to them. |
Gradient |
Change the colors, and they will have a gradient look to them. If you select Gradient as the Fill Style, the Fill color box changes to gradient. Click it to bring up the gradient fill dialog box to configure the gradient fill. |
Original |
Prevent the colors of the object to be changed from what was originally imported. |
Shaded |
Use a tight dot pattern to soften or give a shaded appearance. The Shaded fill style takes effect only on the group object that is composed of individual objects with dark to light colors, such as the Symbol Factory objects. |
The following example shows the effects of Shaded and Gradient fill styles.
Using the Original Fill Style allows for more variations on animating an object. Instead of a specific color for the object’s non-blink state, the object’s original color can be used.
If Original is used as a Fill Style on any state, the color palette boxes will not allow a color change. By selecting the Blink option, a different color can be used for both the Line and the Fill color or individually.
Using the Shaded Fill Style along with the Blink option allows control of the shading aspect of a display object by changing combinations of Line and Fill and different colors.
Important: |
Some types of graphics are made up of many elements. An individual element can be selected and have color animation applied just to it. |
Type the number of seconds for the blink cycle. For example, if you specify a rate of two seconds and have two colors specified, the object will blink for 1 second on one color, then 1 second on the other color. The blink rate is the same for all blinking colors defined for an object.
Click this button to reset colors to their defaults.